package com.xxxx.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xxxx.server.pojo.Department;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhoubin
 */
public interface DepartmentMapper extends BaseMapper<Department> {
    List<Department> selectDepartNameDao(String dename);

    List<Department> selectDepartmentAll(Integer i);

    Integer addDepartDao(Department department);

    void updataDepartDao_parentid(Department department);

    Integer detelDepartDao(String id);

    int updataDepartDao_parentid02(Integer id);

    Department selectDepartment01(String id);
}
